
<div class="announce_list" style="text-align:left">
    <!--模版广播列表-->
    {{range .announce_list}}
    <div id="{{.Id}}" class="col-sm-8 panel panel-info" style="font-size:24px">
        <div class="panel-body">
            <a href="/?page=todo&id={{.UserId | Int64ToStr}}" class="active">{{.UserId | GetUserName}}</a> 发布了广播:<br>
            <p>{{.Text}}</p>
            <button type="button" class="announce_delete btn btn-default" style="color:blue">删除</button>
            <button type="button" class="announce_comment btn btn-default" style="color:blue">评论</button>
        </div>
    </div>
    {{end}}
</div>
<div class="dynamic_list" style="text-align:left">
    <!--模版动态列表-->
    {{range .dynamic_list}}
    <div id="{{.Id}}" class="col-sm-8 panel panel-info">
        <div class="panel-body">
            <a href="/?page=todo&id={{.Id | GetDynamicOwnerId}}" class="active">@{{.Id | GetDynamicOwnerName}}</a>添加了{{.Type | GetDynamicTypeName}}:
            <p>{{.Id | GetDynamicContent}}</p>
            <!--button type="button" class="dynamic_delete btn btn-default" style="color:blue">删除</button-->
            <!--button type="button" class="announce_comment btn btn-default" style="color:blue">评论</button-->
        </div>
    </div>
    {{end}}
</div>
